//
//  ModelOfCompanionsCommunityData.m
//  FreeTravel
//
//  Created by 徐康 on 16/9/10.
//  Copyright © 2016年 KX. All rights reserved.
//

#import "ModelOfCompanionsCommunityData.h"

@implementation ModelOfCompanionsCommunityData
- (void)setValue:(id)value forKey:(NSString *)key{
    [super setValue:value forKey:key];
    if ([key isEqualToString:@"id"]) {
        self.ID  = [value integerValue];
    }if ([key isEqualToString:@"views"]) {
        self.views = [value integerValue];
    }if ([key isEqualToString:@"replys"]) {
        self.replys = [value integerValue];
    }
}
@end
